{% extends "profilebase.html" %}

{% block sidebar_title %}<h4>Hall Of Fame</h4>{% endblock %}

{% block sidebar_content %}

<h5>MOST REVIEWED</h5>
{% for mr in most_reviewed %}
	<a href="/myprofile/{{ mr.id }}/">{{ mr }}</a><br />
{% endfor %}

{% if teachers %}
	<h5>TEACHERS</h5>
	{% for teacher in teachers %}
		<a href="/myprofile/{{ teacher.abstract_user.id }}/">{{ teacher.abstract_user }}</a><br />
		{% if teacher.teaches %}
			Teaches: {{ teacher.teaches }}<br/>
		{% endif %}
		<br/>
	{% endfor %}
{% endif %}

{% if institutes %}
	<h5>INSTITUTE</h5>
	{% for institute in institutes %}
		<a href="/myprofile/{{ institute.abstract_user.id }}/">{{ institute.abstract_user }}</a><br />
		{% if institue.about %}
			About: {{ institute.about }}<br/>
		{% endif %}
		<br/>
	{% endfor %}
{% endif %}

{% if students %}
	<h5>STUDENTS</h5>
	{% for student in students %}
		<a href="/myprofile/{{ student.abstract_user.id }}/">{{ student.abstract_user }}</a><br />
		{% if student.jamming_style %}
			Jamming Style: {{ student.jamming_style }}<br/>
		{% endif %}
		<br/>
	{% endfor %}
{% endif %}


{% endblock %}

{% block main_title %}<h1>Admin Updates</h1>{% endblock %}

{% block main_subtitle %}{% endblock %}

{% block main_content %}
{% for update in updates %}
	{%  if update.video_id %}
		<li><iframe width="560" height="315" src="http://www.youtube.com/embed/{{ update.video_id }}" frameborder="0" allowfullscreen></iframe> </li><br />
	{% endif %}
	{% if update.content %}
		<li>{{ update.content }}</li> <br></br>
	{% endif %}
	{% if update.mp3_url %}
	<li>
	{{ update.mp3_name }}
	<object height="100" width="100%"> 
		<param name="movie" value={{ update.mp3_url }}/> 
	</object> 
	</li>
	{% endif %}
<br />
{% endfor %}

{% endblock %}
